// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
/* import axios from './utils/utils.js'; */
import qs from 'qs'
 import moment from 'moment'
 import store from './store'
Vue.use(ElementUI)
Vue.prototype.$moment = moment

Vue.config.productionTip = false
// Vue.prototype.$axios = axios
/* eslint-disable no-new */
/* import ElementUI from 'element-ui' */
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'

Vue.use(ElementUI)
Vue.prototype.$qs = qs;
import {towerStatusFormat} from './utils/MyFormat.js'
Vue.filter('towerStatusFormat',towerStatusFormat)//注册转换方法
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>',
  render: h => h(App)
})
